interface StoreState {
  userInfo: {
    userName: string,
    permission: string[],
    token: string,
    userInfo:Object
  };
  logoInfo:{
    path:string,
    title:string,
    name:string,
    icp:string
  },
  collapsed: boolean;
  curTab: string[];
  theme: string;  
  reloadPath: string;
}

const initState: StoreState = {
  userInfo: {
    userName: '',
    permission: [],
    token: '',
    userInfo:{},
  }, // 用户信息
  logoInfo:{
    path:'',
    title:'数智应用平台',
    name:'',
    icp:''
  },
  collapsed: false, // 菜单收纳状态
  curTab: [], // 当前tab页面
  theme: 'default', // 网站主题
  reloadPath: 'null' // 需要刷新的tab路径
}

export default initState
